import service from "@/utils/request";

/**
 * 获取分类
 */
export function GetCatelog(data) {
  return service.request({
    method: "post",
    url: "/news/getCategory/",
    data
  })
}

/**
 * 获取列表
 */
export function GetList(data) {
  return service.request({
    method: "post",
    url: "/news/getList/",
    data
  })
}
